home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
CUJ9202.ARJ
/
1002109A
< prev
next >
Wrap
Text File
|
1992-06-02
|
392b
|
21 lines
char *out_string;
switch (x)
{
case 0:
out_string = "zero";
break;
case 1:
out_string = "one" ;
break;
case 2:
out_string = "two" ;
break;
default:
out_string = "lots";
break;
}
printf ("The value is '%s'\n", out_string);